

import {configureStore} from '@reduxjs/toolkit'
// 两种方式引入reducer
import mainReducer from './modules/main'
import homeReducer from './modules/home'
import entireReducer from './modules/entire'
import detailReducer from './modules/detail'

const store = configureStore({
reducer:{
  main:mainReducer,
  home:homeReducer,
  entire:entireReducer,
  detail:detailReducer,
}
})

export default  store
